	<div class="page-header users-header">
	  <p>
		Hồ sơ PG-PB-MODEL: <strong><?=$canhan->ho_ten?></strong>
	  </p>
	</div>
	
	<div class="container-fluid">
		<div class="row-fluid columns">
			<div class="span5">
				<table class="table table-bordered table-striped">
					<tbody>
						<tr >
							<td rowspan="4" width="50%">
								<img src="/assets/timthumb.php?w=180&src=<?=base_url('uploads/images/full/'.$canhan->avatar)?>"/>
							</td>
							<td><strong><?=$canhan->ho_ten?></strong></td>
						</tr>
						<tr>
							<td style="border-left: 1px solid #ddd;"><?=date('d/m/Y', strtotime($canhan->ngay_sinh))?></td>
						</tr>
						<tr>
							<td style="border-left: 1px solid #ddd;"><?=$canhan->gioi_tinh == 0 ? 'Nữ' : 'Nam'?></td>
						</tr>
						<tr>
							<td style="border-left: 1px solid #ddd;"><?=$canhan->hon_nhan == 0 ? 'Độc thân' : 'Đã kết hôn'?></td>
						</tr>
						<tr>
							<td><label>Nơi ở hiện tại</label></td>
							<td><?=$canhan->ten_tinh .', '.$canhan->ten_quan?></td>
						</tr>
						<tr>
							<td><label>Di động</label></td>
							<td><?=$canhan->di_dong1?></td>
						</tr>						
						<tr>
							<td><label>Kinh nghiệm</label></td>
							<td><?=$canhan->kinh_nghiem?></td>
						</tr>
						<tr>
							<td><label>Thời gian từ</label></td>
							<td><?=$canhan->tgian_tu?></td>
						</tr>
						<tr>
							<td><label>Thời gian đến</label></td>
							<td><?=$canhan->tgian_den?></td>
						</tr>
						<tr>
							<td><label>Nơi công tác htai</label></td>
							<td><?=$canhan->noi_ctac_htai?></td>
						</tr>
						<tr>
							<td><label>Bằng cấp</label></td>
							<td><?=$canhan->bang_cap_bep?></td>
						</tr>
						<tr>
							<td><label>Món sở trường</label></td>
							<td><?=$canhan->mon_so_truong?></td>
						</tr>						
						<tr>
							<td><label>Công việc mong muốn</label></td>
							<td><?=$canhan->cv_mong_muon?></td>
						</tr>
					</tbody>
				</table>
			</div>
			<div class="span7">
				<h3>Dịch vụ đăng ký</h3>
				<?php if($dichvu_dk):?>
				<div class="form-group">
					<table class="table table-bordered" id="dichvu_dk">
						<thead>		
							<tr>
								<th>Dịch vụ</th>
								<th style="width:35%">Catse</th>
							</tr>
						</thead>
						<tbody>
						<?php foreach($dichvu_dk as $obj):?>
							<tr id="dvu_dk_<?=$obj->id?>">
								<td>
									<div class="checkbox ">
										<label>
											<input type="checkbox" class="dichvu_dk" value="<?=$obj->id?>"><?=$obj->ten?>
										</label>
									</div>
								</td>
								<td>
									<label class="text-right"><?=number_format($obj->catse,0,'','')?></label>
								</td>
							</tr>
						<?php endforeach;?>
					</table>
				</div>
				<?php else:?>
					<p>Chưa đăng ký dịch vụ nào</p>
				<?php endif;?>
				<h3>Album ảnh</h3>
				<?php if($album):?>
				<ul class="thumbnails">				
				<?php foreach($album as $obj):?>
					<li class="">
						<div class="thumbnail">
							<a rel="fancybox" href="<?=base_url('uploads/images/full/'.$obj->thumb)?>" title="<?=$canhan->ho_ten?>" class="album">
								<img src="/assets/timthumb.php?w=300&src=<?=base_url('uploads/images/full/'.$obj->thumb)?>">
							</a>
						</div>
					</li>
				<?php endforeach;?>
				</ul>
				<?php else:?>
					<p>Không có ảnh nào trong album</p>
				<?php endif;?>
				<script type="text/javascript">
					jQuery(function(){
						jQuery('a[rel=fancybox]').fancybox({
							'transitionIn'	:	'elastic',
							'transitionOut'	:	'elastic',
							'speedIn'		:	600, 
							'speedOut'		:	200, 
							'autoPlay'		:	true,
							'overlayShow'	:	true
						});
					});
				</script>
			</div>
		</div>
		<div class="row-fluid columns">
			<div class="span12" style="text-align:center;">
				<input type="button" class="btn btn-default" value="Quay lại" onclick="history.back();"/>
				<input type="submit" class="btn btn-danger" value="Không duyệt & Gửi email" onclick="location.href='<?=base_url('admin/duyethosocanhan/khongduyet/'.$canhan->id)?>'"/>
				<?php if($canhan->trang_thai != 1):?>
				<input type="submit" class="btn btn-info" value="Duyệt & Xem hồ sơ kế tiếp" onclick="location.href='<?=base_url('admin/duyethosocanhan/duyet/'.$canhan->id)?>'"/>		
				<?php endif;?>
				<?php if($canhan->active == 1):?>
				<input type="submit" class="btn btn-danger" value="Deactive" onclick="location.href='<?=base_url('admin/duyethosocanhan/deactive/'.$canhan->id)?>'"/>
				<?php else:?>
				<input type="submit" class="btn btn-info" value="Active" onclick="location.href='<?=base_url('admin/duyethosocanhan/active/'.$canhan->id)?>'"/>
				<?php endif;?>
			</div>
		</div>
	</div>
